package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BoxManageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BoxManageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBoxCodeIsNull() {
            addCriterion("box_code is null");
            return (Criteria) this;
        }

        public Criteria andBoxCodeIsNotNull() {
            addCriterion("box_code is not null");
            return (Criteria) this;
        }

        public Criteria andBoxCodeEqualTo(String value) {
            addCriterion("box_code =", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotEqualTo(String value) {
            addCriterion("box_code <>", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeGreaterThan(String value) {
            addCriterion("box_code >", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("box_code >=", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeLessThan(String value) {
            addCriterion("box_code <", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeLessThanOrEqualTo(String value) {
            addCriterion("box_code <=", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeLike(String value) {
            addCriterion("box_code like", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotLike(String value) {
            addCriterion("box_code not like", value, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeIn(List<String> values) {
            addCriterion("box_code in", values, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotIn(List<String> values) {
            addCriterion("box_code not in", values, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeBetween(String value1, String value2) {
            addCriterion("box_code between", value1, value2, "boxCode");
            return (Criteria) this;
        }

        public Criteria andBoxCodeNotBetween(String value1, String value2) {
            addCriterion("box_code not between", value1, value2, "boxCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeIsNull() {
            addCriterion("print_code is null");
            return (Criteria) this;
        }

        public Criteria andPrintCodeIsNotNull() {
            addCriterion("print_code is not null");
            return (Criteria) this;
        }

        public Criteria andPrintCodeEqualTo(String value) {
            addCriterion("print_code =", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeNotEqualTo(String value) {
            addCriterion("print_code <>", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeGreaterThan(String value) {
            addCriterion("print_code >", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeGreaterThanOrEqualTo(String value) {
            addCriterion("print_code >=", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeLessThan(String value) {
            addCriterion("print_code <", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeLessThanOrEqualTo(String value) {
            addCriterion("print_code <=", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeLike(String value) {
            addCriterion("print_code like", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeNotLike(String value) {
            addCriterion("print_code not like", value, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeIn(List<String> values) {
            addCriterion("print_code in", values, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeNotIn(List<String> values) {
            addCriterion("print_code not in", values, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeBetween(String value1, String value2) {
            addCriterion("print_code between", value1, value2, "printCode");
            return (Criteria) this;
        }

        public Criteria andPrintCodeNotBetween(String value1, String value2) {
            addCriterion("print_code not between", value1, value2, "printCode");
            return (Criteria) this;
        }

        public Criteria andCodeStatusIsNull() {
            addCriterion("code_status is null");
            return (Criteria) this;
        }

        public Criteria andCodeStatusIsNotNull() {
            addCriterion("code_status is not null");
            return (Criteria) this;
        }

        public Criteria andCodeStatusEqualTo(String value) {
            addCriterion("code_status =", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusNotEqualTo(String value) {
            addCriterion("code_status <>", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusGreaterThan(String value) {
            addCriterion("code_status >", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusGreaterThanOrEqualTo(String value) {
            addCriterion("code_status >=", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusLessThan(String value) {
            addCriterion("code_status <", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusLessThanOrEqualTo(String value) {
            addCriterion("code_status <=", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusLike(String value) {
            addCriterion("code_status like", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusNotLike(String value) {
            addCriterion("code_status not like", value, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusIn(List<String> values) {
            addCriterion("code_status in", values, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusNotIn(List<String> values) {
            addCriterion("code_status not in", values, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusBetween(String value1, String value2) {
            addCriterion("code_status between", value1, value2, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andCodeStatusNotBetween(String value1, String value2) {
            addCriterion("code_status not between", value1, value2, "codeStatus");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameIsNull() {
            addCriterion("print_user_name is null");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameIsNotNull() {
            addCriterion("print_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameEqualTo(String value) {
            addCriterion("print_user_name =", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameNotEqualTo(String value) {
            addCriterion("print_user_name <>", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameGreaterThan(String value) {
            addCriterion("print_user_name >", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("print_user_name >=", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameLessThan(String value) {
            addCriterion("print_user_name <", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameLessThanOrEqualTo(String value) {
            addCriterion("print_user_name <=", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameLike(String value) {
            addCriterion("print_user_name like", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameNotLike(String value) {
            addCriterion("print_user_name not like", value, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameIn(List<String> values) {
            addCriterion("print_user_name in", values, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameNotIn(List<String> values) {
            addCriterion("print_user_name not in", values, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameBetween(String value1, String value2) {
            addCriterion("print_user_name between", value1, value2, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintUserNameNotBetween(String value1, String value2) {
            addCriterion("print_user_name not between", value1, value2, "printUserName");
            return (Criteria) this;
        }

        public Criteria andPrintTimeIsNull() {
            addCriterion("print_time is null");
            return (Criteria) this;
        }

        public Criteria andPrintTimeIsNotNull() {
            addCriterion("print_time is not null");
            return (Criteria) this;
        }

        public Criteria andPrintTimeEqualTo(String value) {
            addCriterion("print_time =", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeNotEqualTo(String value) {
            addCriterion("print_time <>", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeGreaterThan(String value) {
            addCriterion("print_time >", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeGreaterThanOrEqualTo(String value) {
            addCriterion("print_time >=", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeLessThan(String value) {
            addCriterion("print_time <", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeLessThanOrEqualTo(String value) {
            addCriterion("print_time <=", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeLike(String value) {
            addCriterion("print_time like", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeNotLike(String value) {
            addCriterion("print_time not like", value, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeIn(List<String> values) {
            addCriterion("print_time in", values, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeNotIn(List<String> values) {
            addCriterion("print_time not in", values, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeBetween(String value1, String value2) {
            addCriterion("print_time between", value1, value2, "printTime");
            return (Criteria) this;
        }

        public Criteria andPrintTimeNotBetween(String value1, String value2) {
            addCriterion("print_time not between", value1, value2, "printTime");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }


        public Criteria andVoidNameIsNull() {
            addCriterion("void_name is null");
            return (Criteria) this;
        }

        public Criteria andVoidNameIsNotNull() {
            addCriterion("void_name is not null");
            return (Criteria) this;
        }

        public Criteria andVoidNameEqualTo(String value) {
            addCriterion("void_name =", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameNotEqualTo(String value) {
            addCriterion("void_name <>", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameGreaterThan(String value) {
            addCriterion("void_name >", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameGreaterThanOrEqualTo(String value) {
            addCriterion("void_name >=", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameLessThan(String value) {
            addCriterion("void_name <", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameLessThanOrEqualTo(String value) {
            addCriterion("void_name <=", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameLike(String value) {
            addCriterion("void_name like", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameNotLike(String value) {
            addCriterion("void_name not like", value, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameIn(List<String> values) {
            addCriterion("void_name in", values, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameNotIn(List<String> values) {
            addCriterion("void_name not in", values, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameBetween(String value1, String value2) {
            addCriterion("void_name between", value1, value2, "voidName");
            return (Criteria) this;
        }

        public Criteria andVoidNameNotBetween(String value1, String value2) {
            addCriterion("void_name not between", value1, value2, "voidName");
            return (Criteria) this;
        }


        public Criteria andVoidTimeIsNull() {
            addCriterion("void_time is null");
            return (Criteria) this;
        }

        public Criteria andVoidTimeIsNotNull() {
            addCriterion("void_time is not null");
            return (Criteria) this;
        }

        public Criteria andVoidTimeEqualTo(String value) {
            addCriterion("void_time =", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeNotEqualTo(String value) {
            addCriterion("void_time <>", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeGreaterThan(String value) {
            addCriterion("void_time >", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeGreaterThanOrEqualTo(String value) {
            addCriterion("void_time >=", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeLessThan(String value) {
            addCriterion("void_time <", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeLessThanOrEqualTo(String value) {
            addCriterion("void_time <=", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeLike(String value) {
            addCriterion("void_time like", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeNotLike(String value) {
            addCriterion("void_time not like", value, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeIn(List<String> values) {
            addCriterion("void_time in", values, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeNotIn(List<String> values) {
            addCriterion("void_time not in", values, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeBetween(String value1, String value2) {
            addCriterion("void_time between", value1, value2, "voidTime");
            return (Criteria) this;
        }

        public Criteria andVoidTimeNotBetween(String value1, String value2) {
            addCriterion("void_time not between", value1, value2, "voidTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}